﻿namespace CHS.ChengDu.Dtos
{
    public class CHSInitDto
    {
        /// <summary>
        /// 状态码
        /// </summary>
        public int aint_appcode { get; set; }
        /// <summary>
        /// 输出信息
        /// </summary>
        public string astr_appmsg { get; set; }
    }

    public class CHSCallInputDto
    {
        /// <summary>
        /// 交易编号
        /// </summary>
        public object infno { get; set; }
        /// <summary>
        /// 交易输入
        /// </summary>
        public object input { get; set; }
    }

    public class CHSCallOutputDto
    {
        /// <summary>
        /// 交易输出
        /// </summary>
        public object output { get; set; }
    }
    /// <summary>
    /// yh_chs_call input
    /// </summary>
    public class CHSInput
    {
        /// <summary>
        /// 交易编号
        /// </summary>
        public string tran_no { set;get;}
        /// <summary>
        /// 交易时间 YYYMMDD24HHMISS
        /// </summary>
        public string tran_time { set;get;}

        public CHSInputData data { set; get; }

    }

    public class CHSInputData
    {
        /// <summary>
        /// 定点医药机构编号
        /// </summary>
        public string fixmedins_code { set; get; }
        /// <summary>
        /// 人员编号
        /// </summary>
        public string psn_no { set; get; }
        /// <summary>
        /// 就医地医保区划 市级统筹区划；若为成都市、省本级双定点，择其一填入
        /// </summary>
        public string mdtrtarea_admvs { set; get; }
        /// <summary>
        /// local_type
        /// 1 市级定点2 省级定点3 省市双定点
        /// </summary>
        public string local_type { set; get; }
        /// <summary>
        /// 异地定点类型 1 市级异地2 省级异地（市州固定1，成都市医疗机构若开通省本级异地填入2）
        /// </summary>
        public string out_type { set; get; }
    }

}